// Logging utility

const chalk = require('chalk')

class Log {
  info(message) {
    console.log(chalk.bgWhite.black("INFO"), chalk.white(message))
  }

  warning(message) {
    console.log(chalk.bgYellow.black("WARN"), chalk.yellow(message))
  }

  critical(message) {
    console.log(chalk.bgRed.white("CRIT"), chalk.red(message))
  }
}

module.exports = Log